package edu.kjxy.day01.t14;

/**
 * 功能:
 * 作者:程序员欧阳子韩
 * 日期:2024/1/31 20:39
 */
public class MyThread extends Thread{
    @Override
    public void run() {
        super.run();
        try {
            System.out.println("run begin");
            Thread.sleep(200000);
            System.out.println("run end");
        }catch (InterruptedException e){
            System.out.println("在沉睡中被停止，进入catch！" + this.isInterrupted());
            e.printStackTrace();
        }
    }
}
